strict key encoding for json.el
authorEdward O'Connor <hober0@gmail.com>
Wed, 22 Aug 2012 01:29:22 +0000 (21:29 -0400)
committerGlenn Morris <rgm@gnu.org>
Wed, 22 Aug 2012 01:29:22 +0000 (21:29 -0400)
commit5e827dfe6fec223c0312950db80aa9a4f95b69a5
tree7bea2b7c53ac9f27205c60686aa43596a81ab822
parent0922b9b8e0bb1957ff6ef8278aab4ca1212eb138
strict key encoding for json.el

Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00642.html

* lisp/json.el (json-key-format): Add error properties.
(json-encode-key): New function.
(json-encode-hash-table, json-encode-alist, json-encode-plist):
Use json-encode-key.
lisp/ChangeLog
lisp/json.el